package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 物料报废表
 * </p>
 *
 * @author LX
 * @since 2018-09-12
 */
@TableName("erp_scrap_tire")
public class ErpScrapTire extends Model<ErpScrapTire> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @TableField("customer_id")
    private Integer customerId;
    /**
     * 报废时间
     */
    @TableField("scr_dt")
    private String scrDt;
    /**
     * 来源
     */
    @TableField("scr_source")
    private String scrSource;
    /**
     * 品名
     */
    @TableField("scr_name")
    private String scrName;
    /**
     * 品牌
     */
    @TableField("scr_brand")
    private String scrBrand;
    /**
     * 规格
     */
    @TableField("scr_specifications")
    private String scrSpecifications;
    /**
     * 型号
     */
    @TableField("scr_model")
    private String scrModel;
    /**
     * 生产编号
     */
    @TableField("scr_produceId")
    private String scrProduceid;
    /**
     * 总里程
     */
    @TableField("scr_mileage")
    private Integer scrMileage;
    /**
     * 胎纹1
     */
    @TableField("scr_tread1")
    private Double scrTread1;
    /**
     * 胎纹2
     */
    @TableField("scr_tread2")
    private Double scrTread2;
    /**
     * 胎纹3
     */
    @TableField("scr_tread3")
    private Double scrTread3;
    /**
     * 胎纹4
     */
    @TableField("scr_tread4")
    private Double scrTread4;
    /**
     * 经办人
     */
    @TableField("scr_input")
    private String scrInput;
    @TableField("scr_estimatedmileage")
    private String scrEstimatedmileage;//预计历程
    @TableField("scr_yqgl")
    private String scrYqgl;// 元/千公里
    @TableField("scr_state")
    private String scrState;//轮胎状态
    @TableField("scr_palydate")
    private String scrPalydate;//使用日期
    @TableField("scr_price")
    private String scrPrice;//购置翻新
    @TableField("scr_pricerepair")
    private String scrPricerepair;//维护维修
    @TableField("scr_operatingmileage")
    private String scrPperatingmileage;//运营里程
    @TableField("purchase_refurbishment")
    private String purchaseRefurbishment;//购置翻新

    public String getScrPperatingmileage() {
        return scrPperatingmileage;
    }

    public void setScrPperatingmileage(String scrPperatingmileage) {
        this.scrPperatingmileage = scrPperatingmileage;
    }

    public String getPurchaseRefurbishment() {
        return purchaseRefurbishment;
    }

    public void setPurchaseRefurbishment(String purchaseRefurbishment) {
        this.purchaseRefurbishment = purchaseRefurbishment;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getScrDt() {
        return scrDt;
    }

    public void setScrDt(String scrDt) {
        this.scrDt = scrDt;
    }

    public String getScrSource() {
        return scrSource;
    }

    public void setScrSource(String scrSource) {
        this.scrSource = scrSource;
    }

    public String getScrName() {
        return scrName;
    }

    public void setScrName(String scrName) {
        this.scrName = scrName;
    }

    public String getScrBrand() {
        return scrBrand;
    }

    public void setScrBrand(String scrBrand) {
        this.scrBrand = scrBrand;
    }

    public String getScrSpecifications() {
        return scrSpecifications;
    }

    public void setScrSpecifications(String scrSpecifications) {
        this.scrSpecifications = scrSpecifications;
    }

    public String getScrModel() {
        return scrModel;
    }

    public void setScrModel(String scrModel) {
        this.scrModel = scrModel;
    }

    public String getScrProduceid() {
        return scrProduceid;
    }

    public void setScrProduceid(String scrProduceid) {
        this.scrProduceid = scrProduceid;
    }

    public Integer getScrMileage() {
        return scrMileage;
    }

    public void setScrMileage(Integer scrMileage) {
        this.scrMileage = scrMileage;
    }

    public Double getScrTread1() {
        return scrTread1;
    }

    public void setScrTread1(Double scrTread1) {
        this.scrTread1 = scrTread1;
    }

    public Double getScrTread2() {
        return scrTread2;
    }

    public void setScrTread2(Double scrTread2) {
        this.scrTread2 = scrTread2;
    }

    public Double getScrTread3() {
        return scrTread3;
    }

    public void setScrTread3(Double scrTread3) {
        this.scrTread3 = scrTread3;
    }

    public Double getScrTread4() {
        return scrTread4;
    }

    public void setScrTread4(Double scrTread4) {
        this.scrTread4 = scrTread4;
    }

    public String getScrInput() {
        return scrInput;
    }

    public void setScrInput(String scrInput) {
        this.scrInput = scrInput;
    }

    public String getScrEstimatedmileage() {
        return scrEstimatedmileage;
    }

    public void setScrEstimatedmileage(String scrEstimatedmileage) {
        this.scrEstimatedmileage = scrEstimatedmileage;
    }

    public String getScrYqgl() {
        return scrYqgl;
    }

    public void setScrYqgl(String scrYqgl) {
        this.scrYqgl = scrYqgl;
    }

    public String getScrState() {
        return scrState;
    }

    public void setScrState(String scrState) {
        this.scrState = scrState;
    }

    public String getScrPalydate() {
        return scrPalydate;
    }

    public void setScrPalydate(String scrPalydate) {
        this.scrPalydate = scrPalydate;
    }

    public String getScrPrice() {
        return scrPrice;
    }

    public void setScrPrice(String scrPrice) {
        this.scrPrice = scrPrice;
    }

    public String getScrPricerepair() {
        return scrPricerepair;
    }

    public void setScrPricerepair(String scrPricerepair) {
        this.scrPricerepair = scrPricerepair;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpScrapTire{" +
        ", id=" + id +
        ", customerId=" + customerId +
        ", scrDt=" + scrDt +
        ", scrSource=" + scrSource +
        ", scrName=" + scrName +
        ", scrBrand=" + scrBrand +
        ", scrSpecifications=" + scrSpecifications +
        ", scrModel=" + scrModel +
        ", scrProduceid=" + scrProduceid +
        ", scrMileage=" + scrMileage +
        ", scrTread1=" + scrTread1 +
        ", scrTread2=" + scrTread2 +
        ", scrTread3=" + scrTread3 +
        ", scrTread4=" + scrTread4 +
        ", scrInput=" + scrInput +
        ", scrEstimatedmileage=" + scrEstimatedmileage +
        ", scrYqgl=" + scrYqgl +
        ", scrState=" + scrState +
        ", scrPalydate=" + scrPalydate +
        ", scrPrice=" + scrPrice +
        ", scrPricerepair=" + scrPricerepair +
        "}";
    }
}
